package com.hrt.manage.stock.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.hrt.bean.StockDetail;
import com.hrt.vo.StockDetailVO;
import com.hrt.vo.StocksVO;

public interface StockDetailService {

	@Transactional
	public boolean delItemById(Long itemId);
	
	
	public StockDetailVO getDetailById(Long itemId);


	public List<StockDetailVO> getDetailByStockId(Long stockId, Integer pageIndex,Integer pageSize);


	/**
	 * 根据库单ID获取库单详情
	 * @param stockId
	 * @return
	 */
	public List<StockDetailVO> getDetailByStockId(Long stockId);

}
